package com.lxg.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author 陆小根
 * date: 2022/04/21
 * Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
public class User {

  private String id;
  private String name;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date bir;
  private String sex;
  private String address;

}
